<%@ page errorPage="error.jsp" %>
<%
    boolean redirect = true;
    if (redirect) {
        response.sendRedirect("main.jsp");
        return;
    }
%>